package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.TypeOfCompetitionDetails;
import org.hxyjs.entity.TypeOfCompetitionDetailsExample;

public interface TypeOfCompetitionDetailsMapper {
    long countByExample(TypeOfCompetitionDetailsExample example);

    int deleteByExample(TypeOfCompetitionDetailsExample example);

    int deleteByPrimaryKey(String tocdno);

    int insert(TypeOfCompetitionDetails record);

    int insertSelective(TypeOfCompetitionDetails record);

    List<TypeOfCompetitionDetails> selectByExample(TypeOfCompetitionDetailsExample example);

    TypeOfCompetitionDetails selectByPrimaryKey(String tocdno);

    String getMaxTocdno();

    List<TypeOfCompetitionDetails> getTypeOfCompetitionDetailsByPage(Map<String, Object> map);

    int updateByExampleSelective(@Param("record") TypeOfCompetitionDetails record, @Param("example") TypeOfCompetitionDetailsExample example);

    int updateByExample(@Param("record") TypeOfCompetitionDetails record, @Param("example") TypeOfCompetitionDetailsExample example);

    int updateByPrimaryKeySelective(TypeOfCompetitionDetails record);

    int updateByPrimaryKey(TypeOfCompetitionDetails record);
}